package priv.mill.abcfactory;

public class TeaFactory extends YinLiaoFactory {

	@Override
	public YinLiao getYinLiao(String name) {
		if("金骏眉".equals(name))
			return new JinJunMei();
		if("铁观音".equals(name))
			return new TieGanYin();
		return null;
	}

}
